package com.example.demo2.entity;

/**
 * @author
 * @version 1.0
 * @description TODO
 * @date 2024/6/18 13:35
 */
public class Amino {
    private String name;
    private float value;
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    // 默认构造函数
    public Amino() {}

    // 带参数的构造函数（可选）
    public Amino(String name, float value) {
        this.name = name;
        this.value = value;
    }

    // Getter 和 Setter 方法
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }
}
